﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sunboxsoft.ASMS.Server.Domain.Entity
{
    /// <summary>
    /// 预约单
    /// </summary>
    public class EBookingBill
    {
        public Guid Id { get; set; }

        /// <summary>
        /// 订单号
        /// </summary>
        public string Number { get; set; }

        /// <summary>
        /// 客户编号
        /// </summary>
        public Guid CustomerId { get; set; }

        /// <summary>
        /// 汽车编号
        /// </summary>
        public Guid AutomobileId { get; set; }

        /// <summary>
        /// 商家Id
        /// </summary>
        public Guid BusinessId { get; set; }

        /// <summary>
        /// 店铺Id
        /// </summary>
        public Guid StationId { get; set; }

        /// <summary>
        /// 销售经理Id
        /// </summary>
        public Guid? SalesManagerId { get; set; }

        /// <summary>
        /// 预订的目标日期（预约时间）
        /// </summary>
        public DateTime TargetDate { get; set; }

        /// <summary>
        /// 是否被删除
        /// </summary>
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 数据创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

        /// <summary>
        /// 数据创建人
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 备忘信息
        /// </summary>
        public string Memo { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }
    }
}
